package com.tanhua.dubbo.api;

import com.tanhua.dubbo.pojo.BlackList;

import java.util.List;

/**
 * @author zmy  at 2021/6/21 20:10
 */
public interface BlackListApi {


    /**
     * 查询黑名单
     *
     * @param userId
     * @param page
     * @param pageSize
     * @return
     */
    List<BlackList> queryBlackList(Long userId,Integer page,Integer pageSize);

    /**
     * 删除黑名单
     *
     * @param userId
     * @param uid
     * @return
     */
    Object deleteBlackUser(Long userId, String uid);


}
